home *** CD-ROM | disk | FTP | other *** search
/ Champak 29 / Volume 29 - JOGO DISK .iso / Games / jungle_adventure.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2006-11-29  |  895 b   |  40 lines

  1. function quitGame(score)
  2. {
  3.    if(this != _level0)
  4.    {
  5.       _level0.quitGame(score);
  6.    }
  7.    stopAllSounds();
  8.    gotoAndStop(1);
  9. }
  10. function sendScore(score)
  11. {
  12.    if(this != _level0)
  13.    {
  14.       _level0.sendScore(score);
  15.    }
  16. }
  17. var basePath = !(_url.indexOf("file:///") > -1 && _level0 == _root) ? "./" : "../";
  18. if(_level0.filePath != null)
  19. {
  20.    basePath = _level0.filePath;
  21. }
  22. var splashTime = 8;
  23. var doPerformanceTest = false;
  24. var bytesToLoad = getBytesTotal();
  25. if(_level0.VR_ENABLED)
  26. {
  27.    _global.VR_ON_LIVES = _level0.getVR("wb2_lives");
  28.    _global.VR_ON_SHIELD = _level0.getVR("wb2_shield");
  29.    _global.VR_ON_PLATFORMS = _level0.getVR("wb2_platforms");
  30.    _global.VR_ON_EMP = _level0.getVR("wb2_emp");
  31. }
  32. else
  33. {
  34.    _global.VR_ON_LIVES = true;
  35.    _global.VR_ON_SHIELD = true;
  36.    _global.VR_ON_PLATFORMS = true;
  37.    _global.VR_ON_EMP = true;
  38. }
  39. nextFrame();
  40.